package com.pattern.bridge;

/**
 * @author 冯志立
 * @create 2019-10-29 10:33
 */
public abstract class Phone {
    //组合品牌
    private Brand brand;

    public Phone(Brand brand) {
        super();
        this.brand = brand;
    }

    protected void open() {
        this.brand.open();
    }

    protected void close() {
        this.brand.close();
    }

    protected void call() {
        this.brand.call();
    }
}
